From: Jakub Steiner Date: Wed, 3 Nov 2021 11:44:59 +0000 (+0100) Subject: styling: Have unfocused selections X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~91^2^2~158^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=96f63a6bf343d1f2fbdbcbdaca9835fa675351dc;p=gtk4.git styling: Have unfocused selections Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4393 --- diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index ebef2a800c..2725291cfd 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -4127,7 +4127,11 @@ tooltip.csd { // catch all extend :) %selected_items { - background-color: $selected_bg_color; + background-color: desaturate($selected_bg_color,100%); + + &:focus-within { + background-color: $selected_bg_color; + } @at-root %nobg_selected_items, & { color: $selected_fg_color;